package com.csun.cmny.provider.dao;

import com.csun.cmny.provider.model.domain.OmcLifeOldmanRoom;
import tk.mybatis.mapper.common.Mapper;

public interface OmcLifeOldmanRoomMapper extends Mapper<OmcLifeOldmanRoom> {
    Integer updateOne(OmcLifeOldmanRoom omcLifeOldmanRoom);

    /**
     * 根据老人Id查询房间Id
     *
     * @param oldmanId the oldman id
     *
     * @return the room id
     */
    Long queryRoomIdByOldmanId(Long oldmanId);
}